package com.sam.hellospringboot3;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author sam
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.sam.*"})
@MapperScan("com.sam.mapper")
public class HelloSpringboot3Application {

    public static void main(String[] args) {
        SpringApplication.run(HelloSpringboot3Application.class, args);
    }

}
